<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>属性绑定和双向数据绑定</title>
    <script type="text/javascript" src="../JS/vue.js"></script>
</head>
<body>
<div id="vue" >
    <div :title="tit">hello world</div>
    <input v-model="content">
    <div>{{content}}</div>
</div>
<script type="text/javascript">
    new Vue({
        el:"#vue",
        data:{
            tit:"this is hello world",
            content:"this is content"
        }
    })
</script>
</body>
</html>